<script lang="ts">
import { defineComponent, toRefs, ref } from 'vue';
import { prefixCls } from '@/settings/designSetting';
import { createAppProviderContext } from './useAppContext';

export default defineComponent({
    name: 'AppProvider',

    setup(props, { slots }) {
        createAppProviderContext({ prefixCls });

        return () => slots.default?.();
    },
});
</script>
